package com.gitee.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "t_user")
public class User {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @JsonIgnore
    private String openId;

    private String nickName;

    private String avatarUrl;

    private Boolean gender;

    private String phoneNumber;

    private Boolean enabled;

    private Boolean admin;

    private Date createTime;

    private Date updateTime;

}
